﻿@{
    Layout = null;
    var zhongbuad = ViewData["zhongbuad"] as List<AdConfig>;
}
@using MiniWeb.Core.Entities
@using MiniWeb.M.Code
@model List<AdConfig>

<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>西藏惠圆花店</title>
    <meta content="西藏惠圆花店" name="keywords">
    <meta content="西藏惠圆花店" name="description">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="/templates/yuan/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="/templates/yuan/css/index.css" />
    <link rel="stylesheet" type="text/css" href="/templates/yuan/css/color.css" />
    <script type="text/javascript" src="/templates/yuan/js/jquery-1.8.3.min.js"></script>

  
 

    <!--[if IE 6]>
<script type="text/javascript" src="/templates/yuan/js/DD_belatedPNG_0.0.8a-min.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('.pngbg,img,background');
// <![CDATA[
if((window.navigator.appName.toUpperCase().indexOf("MICROSOFT")>=0)&&(document.execCommand))
try{
document.execCommand("BackgroundImageCache", false, true);
 }
catch(e){}
// ]]>
</script>
<![endif]-->
</head>
<body>
    <div class="main">
        <script type="text/javascript" src="http://m.siqijiaoyu.cn/templets/js/jquery.min.1.9.1.js"></script>
        <script type="text/javascript" src="http://m.siqijiaoyu.cn/templets/js/swipe.js"></script>
        <div class="home_box">
            <div class="home_slide" id="home_slide">
                <ul>
                  @foreach (var item in Model.Where(c=>c.Position==1))
                  {
                      <li><a href="javascript:void(0)">
                        <img src="@WebHelper.GetImgUrl(item.ImgPath)" /></a> <span style="display: none;">
                        </span></li>
                  }
                   
                </ul>
                <div class="slide_info clear">
                    <span class="fr info_page"><a href="javascript:void(0);" class="hover"></a>
                   @for (var i = 1; i < Model.Where(c => c.Position == 1).Count();i++ )
                   {
                       <a href="javascript:void(0);">
                    </a>
                   }
                    </span>
                </div>
            </div>
        </div>
        <div style="height: 59px; line-height: 59px; margin: 20px auto; text-align: center;">
            <img src="/images/index_logo.png" />
        </div>
        <div class="search" style="position: relative">
            <span class="input-box">
                <form id="searchForm" action="/search.aspx">
                <input type="text" id="keywords" name="keyword" class="new-input" required value="">
                </form>
                <a href="javascript:void(0)" onclick="$('#searchForm').submit();" class="btn-search">
                    <span>search</span></a> </span>
            <div class="new-srch-lst" id="shelper" style="position: absolute; top: 2em; left: 3.28em;
                display: none; width: 201px; z-index: 10">
            </div>
        </div>
        <div class="category">
            <ul class="cate-menu tbl-type" id="categoryMenu">
                <li class="tbl-cell route1"><a href="/goods/search" class="menu1" 
                    res="1"><span class="menu1-icon"><span></span></span><span class="cate-name">分类</span>
                </a></li>
                <li class="tbl-cell route2"><a href="/shopping/cart" id="html5_cart" class="menu2"
                    res="1"><span class="menu2-icon"><span></span></span>
                    <span class="cate-name">购物车(1)</span> </a></li>
                <li class="tbl-cell route3"><a href="/usercenter/index" class="menu3" res="1">
                    <span class="menu3-icon"><span></span></span><span class="cate-name">我的</span> </a>
                </li>
                <li class="tbl-cell route4"><a href="/usercenter/index" class="menu4" 
                    res="1"><span class="menu5-icon"><span></span></span><span class="cate-name">资料</span>
                </a></li>
                <li class="tbl-cell route5"><a href="/usercenter/loginout" class="menu6" res="1"><span
                    class="menu6-icon"><span></span></span><span class="cate-name">退出</span> </a>
                </li>
            </ul>
        </div>
        <div class="ad1 tbl-type">
            <div class="tbl-cell">
                <a href="#">
                    <img src="@(@WebHelper.GetImgUrl(zhongbuad[0].ImgPath))" class="half-img" width="100%" height="325"
                        alt="img">
                </a>
            </div>
            <div class="tbl-cell">
                <div class="ad1-left">
                    <a href="#" class="ad-border">
                        <img src="@(@WebHelper.GetImgUrl(zhongbuad[1].ImgPath))" class="half-img" width="100%" height="160"
                            alt="img">
                    </a><a href="#">
                        <img src="@(@WebHelper.GetImgUrl(zhongbuad[2].ImgPath))" class="half-img" width="100%"  height="160"
                            alt="img">
                    </a>
                </div>
            </div>
        </div>
        <div class="keyword">
            <a href="/goods/search" class="btn-text" res="1">鲜花</a>
            <a href="/goods/search" class="btn-text" res="1">蛋糕</a>
            <a href="/goods/search" class="btn-text" res="1">商务鲜花</a>
            <a href="/goods/search" class="btn-text" res="1">开业花篮</a>
            <div class="clear">
            </div>
        </div>
        <div class="tab-menu">
            <ul class="tbl-type">
                <li class="tbl-cell"><a href="/goods/0/64/0/0/0/0/0/0/0/0/0/0/0.aspx" class="bdr-right">
                    <span class="tab-icon1" res="1"></span><span class="tab-text">爱情鲜花</span> </a>
                </li>
                <li class="tbl-cell"><a href="/goods/0/52/0/0/0/0/0/0/0/0/0/0/0.aspx" class="bdr-right">
                    <span class="tab-icon2" res="1"></span><span class="tab-text">节日鲜花</span> </a>
                </li>
                <li class="tbl-cell"><a href="/goods/0/65/0/0/0/0/0/0/0/0/0/0/0.aspx" class="bdr-right">
                    <span class="tab-icon3" res="1"></span><span class="tab-text">生日鲜花</span> </a>
                </li>
                <li class="tbl-cell"><a href="/goods/92/0/0/0/0/0/0/0/0/0/0/0/0.aspx"><span class="tab-icon4"
                    res="1"></span><span class="tab-text">卡通花束</span> </a></li>
            </ul>
        </div>
        <div class="ad2">
            <h2 class="ad-h2">
                <a href="/goods/5/0/0/0/0/0/0/0/0/0/0/0/0.aspx">鲜花店长推荐</a></h2>
            <div class="tbl-type">
                <div class="tbl-cell">
                    <dl>
                   @foreach (var item in Model.Where(c => c.Position == 3))
                   {
                            <dd>
                            <a href="@item.LinkUrl" target="_blank" title="">
                                <img src="@WebHelper.GetImgUrl(item.ImgPath)" width="100%" /></a></dd>
                   }
                        
                        <div style="clear: both">
                        </div>
                    </dl>
                </div>
            </div>
        </div>
        <div class="ad2">
            <h2 class="ad-h2">
                <a href="/goods/7/0/0/0/0/0/0/0/0/0/0/0/0.aspx">蛋糕店长推荐</a></h2>
            <div class="tbl-type">
                <div class="tbl-cell">
                    <dl>
                       @foreach (var item in Model.Where(c => c.Position == 4))
                       {
                           <dd>
                            <a href="@item.LinkUrl" target="_blank" title="">
                                <img src="@WebHelper.GetImgUrl(item.ImgPath)" width="100%" /></a></dd>
                       }
                        <div style="clear: both">
                        </div>
                    </dl>
                </div>
            </div>
        </div>
        <div class="ad2">
            <h2 class="ad-h2">
                <a href="/goods/9/0/0/0/0/0/0/0/0/0/0/0/0.aspx">商务用花推荐</a></h2>
            <div class="tbl-type">
                <div class="tbl-cell">
                    <dl>
                       @foreach (var item in Model.Where(c => c.Position == 5))
                       {
                           <dd>
                            <a href="@item.LinkUrl" target="_blank" title="">
                                <img src="@WebHelper.GetImgUrl(item.ImgPath)" width="100%" /></a></dd>
                       }

                        <div style="clear: both">
                        </div>
                    </dl>
                </div>
            </div>
        </div>
     
      @Html.Action("Footer", "MainLayout")
        <script type="text/javascript" src="/templates/yuan/js/focus2.js"></script>
    </div>
</body>
</html>
